Smallest and largest fraction